package ptumall.dao;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HistoryKeywordDao {
    List<String> selectHistory(Long userId, int size);

    void insertOrUpdate(Long userId, String keyword);

    void delete(Long userId, String keyword);

    void deleteAll(Long userId);
}
